package com.gxa.stu.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 学员请假申请表
 * </p>
 *
 * @author gxa
 * @since 2022-11-03
 */
@Getter
@Setter
@TableName("tb_absence")
@ApiModel(value = "TbAbsence对象", description = "学员请假申请表")
public class TbAbsence implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键,自动增长")
      @TableId(value = "absence_id", type = IdType.AUTO)
    private Integer absenceId;

    @ApiModelProperty("学员编号")
    private Integer stuId;

    @ApiModelProperty("请假日期")
    private LocalDate absenceDate;

    @ApiModelProperty("开始时间")
    private LocalTime startTime;

    @ApiModelProperty("结束时间")
    private LocalTime endTime;

    @ApiModelProperty("请假原因")
    private String absenceReason;

    @ApiModelProperty("请假类型")
    private String absenceType;

    @ApiModelProperty("请假记录创建的时间,时间戳自动生成")
    private LocalDateTime created;

    @ApiModelProperty("逻辑删除字段")
    private Boolean deleted;


}
